
<div class="row">
	<div class="twelve columns">
		<div class="box_c">
			<div class="box_c_heading cf">
				<div class="box_c_ico"><img src="img/ico/icSw2/16-List.png" alt="" /></div>
				<p>{{Créer/Modifier une page}}</p>
			</div>
			<div class="box_c_content form_a">
				<form action="" method="post" class="nice">
					<?php if(!empty($page->id)){ ?>
						<input type="hidden" name="id" value="<?php echo (int)$page->id; ?>" />
					<?php } ?>
					<div class="formRow">
						<div class="row">
							<div class="six columns">
								<div class="sepH_b">
									<label class="sepH_b" for="status">{{Statut de publication}}</label>
									<input type="checkbox" name="status" id="status" <?php if(!empty($_POST['status'])){ echo 'checked="checked"'; }elseif($page and $page->status == 1){ echo 'checked="checked"'; }elseif($page and $page->status == 0){ echo ''; }else{ echo 'checked="checked"'; } ?> />
									<p class="clear"></p>
								</div>
							</div>
						</div>
					</div>
					<div class="formRow">
						<div class="row">
							<div class="six columns">
								<label class="sepH_b">{{Titre}}</label>
								<input value="<?php if(!empty($page->title)){ echo $page->title; }elseif(!empty($_POST['title'])){ echo $_POST['title']; } ?>" style="margin-top:-2px" type="text" name="title" class="input-text large" />
							</div>
						</div>
					</div>

					<div class="formRow">
						<label class="sepH_b">{{Corps}}</label>
						<textarea id="ed_html" name="description" rows="10" cols="60" class="tinymce"><?php echo $page->description; ?></textarea>
					</div>

					<div class="formRow">
						<label class="sepH_b"><h4>Mots clés</h4></label>
						<textarea name="tags" rows="10" style="width:100%"><?php echo $page->tags; ?></textarea>
					</div>

					<div class="formRow">
						<button name="save" value="1" type="submit" class="button green small radius nice">{{Ok}}</button>
						<button name="return" value="1" type="submit" class="button white small radius nice">{{Annuler}}</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>